package cn.online.taxi.order.dispatch.service;

import cn.online.taxi.manager.dto.front.Order;
import com.alibaba.dubbo.config.annotation.Service;

import java.util.List;

/**
 * @Author BinBini
 * @Date 2021/4/7 19:56
 * @Version 1.0
 */
@Service
public interface DispatchService {

    /**
     * 派单
     * @param passengerInfoId
     * @param passengerPhone
     * @param userLongitude
     * @param userLatitude
     * @param startLongitude
     * @param startLatitude
     * @param startAddress
     * @param endAddress
     * @param endLongitude
     * @param endLatitude
     * @return
     */
    Order dispatch(long passengerInfoId, String passengerPhone, String userLongitude,
                     String userLatitude, String startLongitude, String startLatitude,
                     String startAddress, String endAddress, String endLongitude,
                     String endLatitude, String passengerToken);

}
